/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: 
 * License Type: Evaluation
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface Tan_subsectorDAO {
	public Tan_subsector loadTan_subsectorByORMID(int su_id_subsector) throws PersistentException;
	public Tan_subsector getTan_subsectorByORMID(int su_id_subsector) throws PersistentException;
	public Tan_subsector loadTan_subsectorByORMID(int su_id_subsector, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector getTan_subsectorByORMID(int su_id_subsector, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector loadTan_subsectorByORMID(PersistentSession session, int su_id_subsector) throws PersistentException;
	public Tan_subsector getTan_subsectorByORMID(PersistentSession session, int su_id_subsector) throws PersistentException;
	public Tan_subsector loadTan_subsectorByORMID(PersistentSession session, int su_id_subsector, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector getTan_subsectorByORMID(PersistentSession session, int su_id_subsector, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector[] listTan_subsectorByQuery(String condition, String orderBy) throws PersistentException;
	public Tan_subsector[] listTan_subsectorByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector[] listTan_subsectorByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Tan_subsector[] listTan_subsectorByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector loadTan_subsectorByQuery(String condition, String orderBy) throws PersistentException;
	public Tan_subsector loadTan_subsectorByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector loadTan_subsectorByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Tan_subsector loadTan_subsectorByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tan_subsector createTan_subsector();
	public boolean save(orm.Tan_subsector tan_subsector) throws PersistentException;
	public boolean delete(orm.Tan_subsector tan_subsector) throws PersistentException;
	public boolean deleteAndDissociate(orm.Tan_subsector tan_subsector) throws PersistentException;
	public boolean deleteAndDissociate(orm.Tan_subsector tan_subsector, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Tan_subsector tan_subsector) throws PersistentException;
	public boolean evict(orm.Tan_subsector tan_subsector) throws PersistentException;
	public Tan_subsector loadTan_subsectorByCriteria(Tan_subsectorCriteria tan_subsectorCriteria);
	public Tan_subsector[] listTan_subsectorByCriteria(Tan_subsectorCriteria tan_subsectorCriteria);
}
